package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.lamp.care.vo.result.BPgSrxResultVO;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 表单保存方法VO
 * 评估评分配置主表
 * </p>
 *
 * @author zqb
 * @date 2024-07-09 11:07:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "评估评分配置主表")
public class BPgpfSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评估评分名称
     */
    @Schema(description = "评估评分名称")
    @NotEmpty(message = "请填写评估评分名称")
    @Size(max = 32, message = "评估评分名称长度不能超过{max}")
    private String pgName;
//    /**
//     * 科室id列表json
//     */
//    @Schema(description = "科室id列表json")
//    @NotEmpty(message = "请填写科室id列表json")
//    @Size(max = 32, message = "科室id列表json长度不能超过{max}")
//    private String deptList;
//    /**
//     * 角色id
//     */
////    @Schema(description = "角色id")
//    @NotEmpty(message = "请填写角色id")
//    @Size(max = 60, message = "角色id长度不能超过{max}")
//    private String roleId;
    /**
     * 启用状态0禁用1启用 默认1
     */
    @Schema(description = "启用状态0禁用1启用 默认1")
    @NotNull(message = "请填写启用状态0禁用1启用 默认1")
    private Integer enabled;
    /**
     * 步骤状态0禁用1启用 默认1
     */
    @Schema(description = "步骤状态0禁用1启用 默认1")
    @NotNull(message = "请填写步骤状态0禁用1启用 默认1")
    private Integer bzEnabled;
    /**
     * 步骤单选0禁用1启用 默认0
     */
    @Schema(description = "步骤单选0禁用1启用 默认0")
    @NotNull(message = "请填写步骤单选0禁用1启用 默认0")
    private Integer bzDxEnabled;
    /**
     * 创建人
     */


    /**
     * 是否删除0flase1true  默认0
     */
//    @Schema(description = "是否删除0flase1true  默认0")
//    @NotNull(message = "请填写是否删除0flase1true  默认0")
//    private Integer isDeleted;
    /**
     * 是否有总分说明，0-无，1-有
     */
    @Schema(description = "是否有总分说明，0-无，1-有")
    @NotNull(message = "请填写是否有总分说明，0-无，1-有")
    private Integer hasScore;
    /**
     * 是否展示分值
     */
    @Schema(description = "是否展示分值")
    @NotNull(message = "请填写是否展示分值")
    private Integer showScore;
    /**
     * 权重
     */
    @Schema(description = "权重")
    @NotNull(message = "请填写权重")
    private Integer orderNo;
    /**
     * 评估评分编码
     */
    @Schema(description = "评估评分编码")
    @Size(max = 60, message = "评估评分编码长度不能超过{max}")
    private String pgCode;


    @Schema(description ="评估项所属科室id集合")
    private List<Long> deptList;

    @Schema(description ="输入项集合")
    private List<BPgSrxResultVO> srxList;
}
